<template>
  <h1>EL_容器布局组件</h1>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">
        <el-menu>
          <el-menu-item>用户管理</el-menu-item>
          <el-menu-item>车辆管理</el-menu-item>
          <el-menu-item>围栏管理</el-menu-item>
        </el-menu>
      </el-aside>
      <el-container>
        <el-header>
          <h1>智慧车辆管理系统-IVOS</h1>
        </el-header>
        <el-main>
          <el-table :data="vehicleArr">
            <el-table-column label="序号" type="index"></el-table-column>
            <el-table-column label="品牌" prop="brand"></el-table-column>
            <el-table-column label="型号" prop="model"></el-table-column>
            <el-table-column label="车牌号" prop="license"></el-table-column>
            <el-table-column label="颜色" prop="color"></el-table-column>
            <el-table-column label="公里数" prop="mileage"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>


<script setup>
import {ref} from "vue";

const vehicleArr = ref([
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'},
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'},
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'},
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'},
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'},
  {brand: '奥迪', model: 'A8', license: '京88888', color: 'red', mileage: '10000'}
])
</script>


<style scoped>

</style>